package org.aphasia4j.model;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author hillger.t
 */
@Entity
public class Category extends Model {
  @Column(nullable = false)
  private String name;

  public Category() {}

  public Category(String name) {
    this.name = name;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }
}
